package com.toumy.service.impl;

import com.toumy.dao.CateDao;
import com.toumy.domain.Cate;
import com.toumy.service.ICateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CateServiceImpl implements ICateService {
    @Autowired
    private CateDao cateDao;

    @Override
    public List<Cate> selectAll() {
        return cateDao.selectList(null);
    }
}
